package net.dgg.iboss.sc.backservice.task.dao.credential;


import net.dgg.iboss.sc.backservice.task.entity.credentail.GeneralCertificate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface GeneralCertificateDao {

    /**
     * 查询证书超期的数据
     *
     * @return
     */
    List<GeneralCertificate> findOverDueDetail();

    /**
     * 查询证书预警的数据
     *
     * @return
     */
    List<GeneralCertificate> findOverWarningDetail(Map<String, Object> params);

    /**
     * 修改指定字段证书信息
     *
     * @param generalCertificate
     */
    void updateByFileds(GeneralCertificate generalCertificate);

}